<%@ page import="com.placement.app.forms.MainSearchForm" %>

<logic:present name="mainSearchForm" property="searchResults">
<logic:notEqual name="mainSearchForm" property="noSearchResult" value="true">
<html:form action="/actions/mainSearchAction" method="post">
<html:hidden property="job_id" value="" />
<html:hidden property="action" value="selectPosting" />
<table id="table2" cellSpacing="2" cellPadding="1" width="100%" border="0" bgcolor=white>
	<tbody>
		<tr height='20'>
			<td colspan=5><b>Job Search Results</b></td>
		</tr>
		<tr>
			<td width="100%" class="bold">Lists&nbsp;</td>
			
		</tr>
		<logic:iterate id="jobData" name="mainSearchForm" property="searchResults">				
		<tr>
			<td width="100%">
			<a href="javascript:fnSelectPosting('<bean:write name="jobData" property="jobId" />')"><bean:write name="jobData" property="title" /></a>&nbsp;<br/>
			<bean:write name="jobData" property="city" />,&nbsp;
			<bean:write name="jobData" property="state" /><br/>
			<bean:write name="jobData" property="description" />&nbsp;<br/>
			</td>
		</tr>
		</logic:iterate>
	</tbody>
</table>
</html:form>
<SCRIPT language="javascript" type="text/javascript">
			function fnSelectClient(id)
			{
				document.forms[1].job_id.value=id;
				document.forms[1].submit();
				//showInProgressMessage();

			}
</script>
</logic:notEqual>
</logic:present>


